<?php

namespace App\Observers;

use App\Caches\SmsSignCache;
use App\Models\SmsSign;

class SmsSignObserver
{
    /**
     * @param SmsSign $data
     */
    public function created(SmsSign $data)
    {
        SmsSignCache::set();
    }

    /**
     * @param SmsSign $data
     */
    public function updated(SmsSign $data)
    {
        SmsSignCache::set();
    }

    /**
     * @param SmsSign $data
     */
    public function deleted(SmsSign $data)
    {
        SmsSignCache::del();
    }
}
